package com.gpframework.module.wages.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gpframework.common.core.domain.BasePlusEntity;
import java.util.Date;
import java.math.BigDecimal;

/**
 * @ClassName GzMonthlySalesCommission
 * @Author gpframework
 * @Date 2024-01-24
 * @Version 1.0.0
 * @Description 销售月度提成 PO对象
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("gz_monthly_sales_commission")
public class GzMonthlySalesCommission extends BasePlusEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;
    /** 月份 */
    private Date month;
    /** 部门 */
    private String departmentName;
    /** 员工id */
    private Long userId;
    /** 姓名 */
    private String name;
    /** 销售档次 */
    private BigDecimal salesGear=BigDecimal.ZERO;
    /** 销售等级  计算出来的 */
    private BigDecimal salesLevel;
    /** 起征点 */
    private BigDecimal startingPointTaxation=BigDecimal.ZERO;
    /** 提成比例 */
    private BigDecimal commissionRatio=BigDecimal.ZERO;
    /** 月度总销售 */
    private BigDecimal monthlyTotalSales=BigDecimal.ZERO;
    /** 日奖金 */
    private BigDecimal dailyBonus=BigDecimal.ZERO;
    /**评定等级**/
    private String ratingIevel;
    /** 0未完成 1完成 */
    private Integer complete;
    /** 排序 */
    private Long sort;
    /** 备注 */
    private String remarks;
    /** 销售奖 */
    private BigDecimal salesAward=new BigDecimal(0);
}
